<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>分页案例</title>
    <style>
        * {
            padding: 0;
            margin: 0;
        }
        
        li {
            list-style: none;
            float: left;
            width: 50px;
            height: 50px;
            margin-left: 40px;
            text-align: center;
            border: 1px solid yellow;
            border-radius: 255px;
            transition: all .5s ease;
        }
        
        a {
            text-decoration: none;
        }
        
        li:hover {
            transform: scale(1.3);
        }
        
        .box {
            width: 1000px;
            margin: 100px auto;
            line-height: 50px;
            background-color: black;
        }
    </style>
</head>

<body>

    <div class="box">
        <ul>
            <li><a href="">1</a> </li>
            <li><a href="">2</a></li>
            <li><a href="">3</a></li>
            <li><a href="">4</a></li>
            <li><a href="">5</a></li>
            <li><a href="">6</a></li>
            <li><a href="">7</a></li>
            <li><a href="">8</a></li>
        </ul>

    </div>


</body>

</html>